package com.ssps.entity;

import org.apache.catalina.User;

import java.util.Date;

public class Orders {
    private Integer pid2;

    private Integer uiid;

    private Integer pid;

    private Parking parking;

    private  UserInfo userInfo;

    private Integer cmid;

    private Integer ucid;

    private String onumber;

    private Date starttime;

    private Date endtime;

    private Long price;

    private Date paytime;

    private Date arrivaltime;

    private Date leavetime;

    private String status;



    private Coupon coupon;

    public Coupon getCoupon() {
        return coupon;
    }

    public void setCoupon(Coupon coupon) {
        this.coupon = coupon;
    }



    public UserInfo getUserInfo() {
        return userInfo;
    }

    public void setUserInfo(UserInfo userInfo) {
        this.userInfo = userInfo;
    }

    public Integer getPid2() {
        return pid2;
    }

    public void setPid2(Integer pid2) {
        this.pid2 = pid2;
    }

    public Integer getUiid() {
        return uiid;
    }

    public void setUiid(Integer uiid) {
        this.uiid = uiid;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public Integer getCmid() {
        return cmid;
    }

    public void setCmid(Integer cmid) {
        this.cmid = cmid;
    }

    public Parking getParking() {
        return parking;
    }

    public void setParking(Parking parking) {
        this.parking = parking;
    }



    public Integer getUcid() {
        return ucid;
    }

    public void setUcid(Integer ucid) {
        this.ucid = ucid;
    }

    public String getOnumber() {
        return onumber;
    }

    public void setOnumber(String onumber) {
        this.onumber = onumber;
    }

    public Date getStarttime() {
        return starttime;
    }

    public void setStarttime(Date starttime) {
        this.starttime = starttime;
    }

    public Date getEndtime() {
        return endtime;
    }

    public void setEndtime(Date endtime) {
        this.endtime = endtime;
    }

    public Long getPrice() {
        return price;
    }

    public void setPrice(Long price) {
        this.price = price;
    }

    public Date getPaytime() {
        return paytime;
    }

    public void setPaytime(Date paytime) {
        this.paytime = paytime;
    }

    public Date getArrivaltime() {
        return arrivaltime;
    }

    public void setArrivaltime(Date arrivaltime) {
        this.arrivaltime = arrivaltime;
    }

    public Date getLeavetime() {
        return leavetime;
    }

    public void setLeavetime(Date leavetime) {
        this.leavetime = leavetime;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "Orders{" +
                "pid2=" + pid2 +
                ", uiid=" + uiid +
                ", pid=" + pid +
                ", parking=" + parking +
                ", cmid=" + cmid +
                ", ucid=" + ucid +
                ", onumber='" + onumber + '\'' +
                ", starttime=" + starttime +
                ", endtime=" + endtime +
                ", price=" + price +
                ", paytime=" + paytime +
                ", arrivaltime=" + arrivaltime +
                ", leavetime=" + leavetime +
                ", status='" + status + '\'' +
                '}';
    }
}